package cn.mygweb.common.exception;

/** 
* <p>Title: SysException.java</p>
* <p>Description: 自定义的异常控制类，用来传递状态码和信息</p>  
* @author gxb 
* @date 2019年5月19日 
* <p>Copyright: Copyright (c) 2019</p>
* <p>Company: www.mygweb.cn</p> 
*/
public class SysException extends RuntimeException{

	private Integer status;
	
	/**
	 * <p>Title: SysExceptiJon</p>
	 * <p>Description: 异常信息</p>
	 * @param status
	 * @param msg
	 */
	public SysException(Integer status, String msg) {
		super(msg);
		this.status = status;
	}
	
	public Integer getStatus() {
		return status;
	}
	
}
